// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_activity;

import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextWatcher;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.AccelerateInterpolator;
import android.view.inputmethod.InputMethodManager;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.ImageButton;
import android.widget.LinearLayout;
import com.nnee.p_fk.cls_ActivityEx;
import com.nnee.p_fk.cls_k;
import com.nnee.p_img.cls_c;
import com.nnee.p_pr.p_a.cls_i;
import com.nnee.p_pr.p_a.cls_m;
import com.nnee.p_pr.p_activity.p_a.cls_s;
import com.nnee.p_pr.p_activity.p_view.cls_FlingGallery;
import com.nnee.p_pr.p_activity.p_view.cls_ap;
import com.nnee.p_pr.p_activity.p_view.cls_ca;
import com.nnee.p_pr.p_activity.p_view.cls_f;
import com.nnee.p_pr.p_app.cls_PrisApp;
import com.nnee.p_pr.p_atom.cls_b;
import com.nnee.p_pr.p_atom.cls_u;
import com.nnee.p_pr.p_c.cls_l;
import com.nnee.p_pr.p_prot.cls_d;
import com.nnee.p_pr.cls_v;
import java.util.LinkedList;

// Referenced classes of package com.nnee.p_pr.p_activity:
//            ca, cb, cc, cd, 
//            j, PRISActivitySetting, by, bz, 
//            fk, fj, cn

public class cls_ArticleGalleryActivity extends cls_ActivityEx
    implements cls_ap, cls_ca
{

    public cls_ArticleGalleryActivity()
    {
        M = false;
        N = false;
        O = false;
        P = false;
        Q = 0;
        R = 0;
        S = null;
        T = null;
        V = cls_b.aNormal;
        Y = null;
        Z = null;
        aa = null;
        ab = null;
        ac = null;
        ad = null;
        ae = null;
        af = null;
        ag = null;
        ah = null;
        ai = null;
        aj = null;
        ak = null;
        al = null;
        F = new com.nnee.p_pr.p_activity.cls_ca(this);
        G = new cls_cb(this);
        H = new cls_cc(this);
        I = new cls_cd(this);
    }

    static Context a(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.Z;
    }

    static cls_cn a(cls_ArticleGalleryActivity articlegalleryactivity, cls_cn cn)
    {
    	articlegalleryactivity.an = cn;
        return cn;
    }

    static cls_d a(cls_ArticleGalleryActivity articlegalleryactivity, cls_d d1)
    {
    	articlegalleryactivity.Y = d1;
        return d1;
    }

    static String a(cls_ArticleGalleryActivity articlegalleryactivity, String s1)
    {
    	articlegalleryactivity.S = s1;
        return s1;
    }

    private void a(int i1, float f1, float f2)
    {
        cls_m m1 = new cls_m(f1, f2, (float)am.getWidth() / 2F, (float)am.getHeight() / 2F, 0F, true);
        m1.setDuration(500L);
        m1.setFillAfter(true);
        m1.setInterpolator(new AccelerateInterpolator());
        m1.setAnimationListener(new cls_j(this, i1, null));
        am.startAnimation(m1);
    }

    private void a(int i1, Object obj, String s1, String s2, boolean flag)
    {
        switch(i1)
        {
        case 903:
        	 R = com.nnee.p_pr.cls_v.a().a(s1, V, W);
             X.add(new Integer(R));
        	break;
        default:
        	break;
        }

    }

    public static void a(Context context, String s1, String s2, int i1, int j1)
    {
        a(context, s1, s2, i1, j1, cls_b.aNormal);
    }

    public static void a(Context context, String s1, String s2, int i1, int j1, cls_b b1)
    {
        Intent intent = new Intent(context, com.nnee.p_pr.p_activity.cls_ArticleGalleryActivity.class);
        intent.putExtra("url", s1);
        intent.putExtra("title", s2);
        intent.putExtra("position", i1);
        intent.putExtra("operation", j1);
        if(b1 != null)
            intent.putExtra("custom_type", b1.name());
        context.startActivity(intent);
    }

    static void a(cls_ArticleGalleryActivity articlegalleryactivity, int i1)
    {
    	articlegalleryactivity.b(i1);
    }

    static void a(cls_ArticleGalleryActivity articlegalleryactivity, int i1, Object obj, String s1, String s2, boolean flag)
    {
    	articlegalleryactivity.a(i1, obj, s1, s2, flag);
    }

    public static void a(cls_u u1)
    {
    }

    private void a(cls_d d1)
    {
        if(d1 != null && d1.h != null && Y != null && Y.h != null)
        {
            com.nnee.p_pr.p_a.cls_i.a(d1.h, Y.h);
            Y.h.addAll(d1.h);
            if(Q > L.l())
                Q = L.l();
            else
                Q = 1 + Q;
            if(Q >= Y.h.size())
                Q = -1 + Y.h.size();
            L.a(new cls_s(this, U, V, T, Y, S, true), Q);
        }
    }

    static boolean a(cls_ArticleGalleryActivity articlegalleryactivity, boolean flag)
    {
    	articlegalleryactivity.P = flag;
        return flag;
    }

    static int b(cls_ArticleGalleryActivity articlegalleryactivity, int i1)
    {
    	articlegalleryactivity.Q = i1;
        return i1;
    }

    static cls_cn b(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.an;
    }

    private void b(int i1)
    {
        if(1 != i1){
        	if(i1 == 0)
                a(-1, 0F, 90F);
        }else {
        a(1, 0F, 90F);
        }
    }

    static void b(cls_ArticleGalleryActivity articlegalleryactivity, cls_d d1)
    {
    	articlegalleryactivity.a(d1);
    }

    private void b(boolean flag)
    {
        if(flag)
        {
            ab.setVisibility(0);
            ad.setVisibility(8);
            ac.setVisibility(0);
        } else
        {
            ab.setVisibility(8);
        }
    }

    static boolean b(cls_ArticleGalleryActivity articlegalleryactivity, boolean flag)
    {
    	articlegalleryactivity.O = flag;
        return flag;
    }

    static cls_cn c(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.ao;
    }

    private void c()
    {
        am = (ViewGroup)findViewById(0x7f0d0000);
        ac = (LinearLayout)ab.findViewById(0x7f0d0043);
        ad = (LinearLayout)ab.findViewById(0x7f0d0047);
        ae = (EditText)ab.findViewById(0x7f0d0044);
        af = (Button)ab.findViewById(0x7f0d0045);
        ag = (CheckBox)ab.findViewById(0x7f0d0046);
        ah = (ImageButton)ab.findViewById(0x7f0d0049);
        ai = (ImageButton)ab.findViewById(0x7f0d004b);
        aj = (ImageButton)ab.findViewById(0x7f0d004d);
        ak = (ImageButton)ab.findViewById(0x7f0d0051);
        al = (ImageButton)ab.findViewById(0x7f0d004f);
    }

    static void c(cls_ArticleGalleryActivity articlegalleryactivity, boolean flag)
    {
    	articlegalleryactivity.c(flag);
    }

    private void c(boolean flag)
    {
        android.os.IBinder ibinder;
        if(flag)
        {
            ab.setVisibility(8);
        } else
        {
            ab.setVisibility(0);
            ad.setVisibility(0);
            ac.setVisibility(8);
        }
        com.nnee.p_pr.p_activity.cls_PRISActivitySetting.d(Z, flag);
        ibinder = ae.getWindowToken();
        aa.hideSoftInputFromWindow(ibinder, 0);
    }

    static cls_FlingGallery d(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.L;
    }

    static boolean d(cls_ArticleGalleryActivity articlegalleryactivity, boolean flag)
    {
    	articlegalleryactivity.N = flag;
        return flag;
    }

    private void e()
    {
        int i1 = com.nnee.p_img.cls_c.a(Z, 8F);
        ((LinearLayout)findViewById(0x7f0d0005)).setPadding(0, i1 / 2, i1, 0);
        k();
    }

    static void e(cls_ArticleGalleryActivity articlegalleryactivity)
    {
    	articlegalleryactivity.h();
    }

    static void e(cls_ArticleGalleryActivity articlegalleryactivity, boolean flag)
    {
    	articlegalleryactivity.b(flag);
    }

    private void f()
    {
        if(ae != null)
            ae.addTextChangedListener(H);
        if(aj != null)
            aj.setOnClickListener(G);
        if(ah != null)
            ah.setOnClickListener(G);
        if(ai != null)
            ai.setOnClickListener(G);
        if(ak != null)
            ak.setOnClickListener(G);
        if(al != null)
            al.setOnClickListener(G);
        if(af != null)
            af.setOnClickListener(G);
    }

    static void f(cls_ArticleGalleryActivity articlegalleryactivity)
    {
    	articlegalleryactivity.g();
    }

    static LinearLayout g(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.ad;
    }

    private void g()
    {
        if(L != null) {
        	if(L.l() == L.i())
            {
                if(!P)
                    if(S != null)
                    {
                        P = true;
                        Q = L.l();
                        a(903, null, S, ((String) (null)), true);
                        com.nnee.p_l.p_b.cls_b.a(Z, 0x7f0a009d);
                    } else
                    {
                        com.nnee.p_l.p_b.cls_b.a(Z, 0x7f0a0093);
                    }
            } else
            {
                L.o();
            }
        }
    }

    static LinearLayout h(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.ac;
    }

    private void h()
    {
        if(L != null)
            if(L.l() == L.h())
                com.nnee.p_l.p_b.cls_b.a(Z, 0x7f0a0092);
            else
                L.n();
    }

    static EditText i(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.ae;
    }

    static InputMethodManager j(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.aa;
    }

    static boolean k(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.N;
    }

    static CheckBox l(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.ag;
    }

    static Button m(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.af;
    }

    static boolean n(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.P;
    }

    static cls_d o(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.Y;
    }

    static int p(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.U;
    }

    static cls_b q(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.V;
    }

    static String r(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.T;
    }

    static String s(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.S;
    }

    static int t(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.Q;
    }

    static boolean u(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.O;
    }

    static ImageButton v(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.al;
    }

    static ViewGroup w(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.am;
    }

    static LinkedList x(cls_ArticleGalleryActivity articlegalleryactivity)
    {
        return articlegalleryactivity.X;
    }

    public Object a(int i1, int j1, Object obj)
    {
        Object obj1;
        if(L != null)
            obj1 = L.b(-1, j1, obj);
        else
            obj1 = null;
        return obj1;
    }

    public void a()
    {
        android.app.AlertDialog.Builder builder = new android.app.AlertDialog.Builder(this);
        builder.setTitle(0x7f0a0087);
        cls_cn cn = cls_PRISActivitySetting.g(Z);
        an = cn;
        ao = cn;
        builder.setSingleChoiceItems(0x7f070006, cls_PRISActivitySetting.a(cn), F);
        cls_by by1 = new cls_by(this);
        builder.setPositiveButton(0x104000a, by1);
        builder.setNegativeButton(0x1040000, by1);
        android.app.AlertDialog alertdialog = builder.create();
        alertdialog.setCancelable(false);
        alertdialog.show();
    }

    public void a(int i1)
    {
        ae.setText(null);
        Object obj = a(-1, E, null);
        if(obj != null)
            com.nnee.p_pr.p_d.cls_c.a(p(), 1743, (String)obj);
        else
            com.nnee.p_pr.p_d.cls_c.a(p(), 1743);
    }

    public void a(MotionEvent motionevent)
    {
        Object obj;
        obj = a(-1, B, null);

        while(true) 
        {
            
            if((obj == null || !((Boolean)obj).booleanValue()))
            {
            	return ;
            }
            Integer integer = (Integer)a(-1, u, null);
            if((integer == null || integer.intValue() == 0) && ((Boolean)a(-1, A, null)).booleanValue())
            {
                cls_f f1 = new cls_f(this);
                f1.a(1, 0x7f0a0206);
                f1.a(new cls_bz(this));
                f1.a(L, (int)motionevent.getX(), (int)motionevent.getY(), 0);
            }
        }
    }

    public int b()
    {
        int i1;
        if(L != null)
            i1 = L.m();
        else
            i1 = -1;
        return i1;
    }

    public boolean dispatchKeyEvent(KeyEvent keyevent)
    {
        if(4 == keyevent.getKeyCode())
        {
            android.os.IBinder ibinder = ae.getWindowToken();
            aa.hideSoftInputFromWindow(ibinder, 0);
        }
        return super.dispatchKeyEvent(keyevent);
    }

    public void finish()
    {
        Intent intent = new Intent();
        Bundle bundle = new Bundle();
        bundle.putInt("position", L.l());
        bundle.putString("nexturl", S);
        intent.putExtras(bundle);
        setResult(-1, intent);
        super.finish();
    }

    protected void onActivityResult(int i1, int j1, Intent intent)
    {
        switch(i1)
        {
        case  4096:
        	if(j1 == -1 && intent != null)
            {
                Bundle bundle = intent.getExtras();
                if(bundle != null)
                {
                    int k1 = bundle.getInt("position");
                    S = bundle.getString("nexturl");
                    if(k1 != Q)
                    {
                        Q = k1;
                        if(L != null)
                            L.d(Q);
                    }
                }
            }
        	break;
        default:
        	break;
        
        }
        
    }

    public void onCreate(Bundle bundle)
    {
        super.onCreate(bundle);
        com.nnee.p_img.cls_d.a().e();
        L = new cls_FlingGallery(this);
        L.b(true);
        L.a(this);
        L.a(this);
        L.a(new cls_fk(this));
        L.a(new cls_fj(this));
        L.b(200);
        L.setBackgroundColor(com.nnee.p_fk.cls_k.a(this).c(0x7f0800a4));
        LinearLayout linearlayout = new LinearLayout(this);
        linearlayout.setOrientation(1);
        android.widget.LinearLayout.LayoutParams layoutparams = new android.widget.LinearLayout.LayoutParams(-1, 0);
        layoutparams.weight = 1F;
        linearlayout.addView(L, layoutparams);
        ab = (LinearLayout)LayoutInflater.from(this).inflate(0x7f030017, null);
        linearlayout.addView(ab, new android.widget.LinearLayout.LayoutParams(-1, -2));
        setContentView(linearlayout);
        Q = 0;
        Intent intent = getIntent();
        if(intent != null)
        {
            S = intent.getStringExtra("nexturl");
            T = intent.getStringExtra("title");
            Q = intent.getIntExtra("position", 0);
            U = intent.getIntExtra("operation", 256);
            String s1 = intent.getStringExtra("custom_type");
            if(s1 != null)
                V = com.nnee.p_pr.p_atom.cls_b.valueOf(s1);
        }
        if(V != cls_b.bSinaMblog)
        {
            ab.findViewById(0x7f0d004e).setVisibility(8);
            ab.findViewById(0x7f0d004c).setVisibility(8);
        }
        Z = this;
        X = new LinkedList();
        M = com.nnee.p_pr.p_activity.cls_PRISActivitySetting.d(Z);
        O = cls_PRISActivitySetting.h(Z);
        aa = (InputMethodManager)getSystemService("input_method");
        c();
        e();
        f();
        c(true);
        Y = cls_PrisApp.a().p();
        if(Y != null && Y.h != null && Y.h.size() > 0)
            L.a(new cls_s(this, U, V, T, Y, S, false), Q);
        com.nnee.p_pr.cls_v.a().a(I);
    }

    public void onDestroy()
    {
        com.nnee.p_l.p_b.cls_b.a();
        super.onDestroy();
        com.nnee.p_pr.cls_v.a().b(I);
        if(I != null)
        {
            I.c();
            I = null;
        }
        if(L != null)
        {
            L.a(0, v, Boolean.valueOf(true));
            L.a(1, v, Boolean.valueOf(true));
            L.a(2, v, Boolean.valueOf(true));
            L.f();
            L = null;
        }
        if(X != null)
            X.clear();
        S = null;
        T = null;
        am = null;
        Z = null;
        Y = null;
        System.gc();
    }

    public boolean onKeyDown(int i1, KeyEvent keyevent)
    {
    	boolean flag1=false;
    	boolean flag2=false;
        boolean flag = false;
        if(4 != i1){
        	if(24 != i1) {
        		if(25 != i1) {
        			 if(4 == i1)
        		            flag = true;
        			 flag1 = flag;
         			if(!flag1) {
         				flag1 = super.onKeyDown(i1, keyevent);
         			} else {
         				return flag1;
         			}
        		} else {
        			if(!M) {
	            			flag1 = flag;
	            			if(!flag1) {
	            				flag1 = super.onKeyDown(i1, keyevent);
	            			} else {
	            				return flag1;
	            				}
            			} else{
            				 g();
            			        com.nnee.p_pr.p_d.cls_c.a(p(), 1729);
            			        flag = true;}
            			flag1 = flag;
            			if(!flag1) {
            				flag1 = super.onKeyDown(i1, keyevent);
            			} else {
            				return flag1;
            			}
        		}
        	} else {
        		if(!M) {
        			flag1 = flag;
        			if(!flag1) {
        				flag1 = super.onKeyDown(i1, keyevent);
        			} else {
        				return flag1;
        			}
        		}else {
        			h();
        	        
        	        try
        	        {
        	            com.nnee.p_pr.p_d.cls_c.a(p(), 1729);
        	        }
        	        // Misplaced declaration of an exception variable
        	        catch(NullPointerException nullpointerexception)
        	        {
        	            flag = true;
        	            
        	        }
        	        flag = true;
        	        flag1 = flag;
        			if(!flag1) {
        				flag1 = super.onKeyDown(i1, keyevent);
        			} else {
        				return flag1;
        			}
        		}
        	}
        } else {
        	if(a(-1, u, null) == null) {
        		flag1 = flag;
    			if(!flag1) {
    				flag1 = super.onKeyDown(i1, keyevent);
    			} else {
    				return flag1;
    			}
        	}else {
        		if(1 != ((Integer)a(-1, u, null)).intValue()) {
                	flag2 = flag;
                	flag = flag2;
                	
                	        flag1 = flag;
                	        
                	        if(!flag1) {
                				flag1 = super.onKeyDown(i1, keyevent);
                			} else {
                				return flag1;
                			}
                } else {
                	 b(0);
                     com.nnee.p_pr.p_d.cls_c.a(p(), 1733);
                     flag2 = true;
                     
                     flag = flag2;
                 	
         	        flag1 = flag;
         	        
         	        if(!flag1) {
         				flag1 = super.onKeyDown(i1, keyevent);
         			} else {
         				return flag1;
         			}
                }
        	}
        }
        
        return flag1;
 
    }

    public boolean onKeyUp(int i1, KeyEvent keyevent)
    {
        boolean flag = true;
        if(24 != i1 ? 25 != i1 || !M : !M)
            flag = super.onKeyUp(i1, keyevent);
        return flag;
    }

    public boolean onOptionsItemSelected(MenuItem menuitem)
    { String s1;
    String s2;
        boolean flag;
        int i1;
        Object obj;
        flag = true;
        i1 = menuitem.getItemId();
        obj = a(-1, E, null);
        switch(i1){
        case 2131558715:
        	if(N)
            {
                if(L != null)
                    L.a(-1, j, Integer.valueOf(0));
            } else
            if(L != null)
                L.a(-1, i, Integer.valueOf(0));
            s1 = p();
            if(N)
                flag = false;
            if(obj == null)
                s2 = null;
            else
                s2 = (String)obj;
            com.nnee.p_pr.p_d.cls_c.a(s1, flag, s2);
        	break;
        case 2131558716:
        	int j1;
            if(((Integer)a(-1, u, null)).intValue() == 0)
                j1 = ((flag) ? 1 : 0);
            else
                j1 = 0;
            b(j1);
            com.nnee.p_pr.p_d.cls_c.a(p(), 1731);
        	break;
        case 2131558717:
        	 if(L != null)
                 L.a(-1, x, Integer.valueOf(0));
             if(obj == null)
                 com.nnee.p_pr.p_d.cls_c.a(p(), 1742);
             else
                 com.nnee.p_pr.p_d.cls_c.a(p(), 1742, (String)obj);
        	break;
        case 2131558718:
        	a();
            com.nnee.p_pr.p_d.cls_c.a(p(), 706);
        	break;
        case 2131558719:
        	 if(L != null)
                 L.a(-1, m, Integer.valueOf(0));
        	break;
        case 2131558720:
        	if(L != null)
                L.a(-1, l, Integer.valueOf(0));
            if(obj == null)
                com.nnee.p_pr.p_d.cls_c.a(p(), 1740);
            else
                com.nnee.p_pr.p_d.cls_c.a(p(), 1740, (String)obj);
        	break;
        case 2131558721:
        	if(L != null)
                L.a(-1, n, Integer.valueOf(0));
            if(obj == null)
                com.nnee.p_pr.p_d.cls_c.a(p(), 1741);
            else
                com.nnee.p_pr.p_d.cls_c.a(p(), 1741, (String)obj);
        	break;
        default:
        	
        	break;
        }
        
        return super.onOptionsItemSelected(menuitem);
      
    }

    public boolean onPrepareOptionsMenu(Menu menu)
    {
        menu.clear();
        getMenuInflater().inflate(0x7f0c0000, menu);
        Object obj = a(-1, k, null);
        Object obj1;
        if(obj == null)
        {
            menu.findItem(0x7f0d013b).setEnabled(false);
        } else
        {
            N = ((Boolean)obj).booleanValue();
            if(N)
                menu.findItem(0x7f0d013b).setTitle(0x7f0a007c);
            else
                menu.findItem(0x7f0d013b).setTitle(0x7f0a007b);
        }
        if(a(-1, x, null) == null)
            menu.findItem(0x7f0d013d).setEnabled(false);
        if(a(-1, l, null) == null)
            menu.findItem(0x7f0d0140).setEnabled(false);
        obj1 = a(-1, u, null);
        if(obj1 == null)
            menu.findItem(0x7f0d013c).setEnabled(false);
        else
        if(((Integer)obj1).intValue() == 1)
        {
            menu.findItem(0x7f0d013c).setTitle(0x7f0a007f);
            menu.findItem(0x7f0d013c).setIcon(0x7f02008f);
        } else
        {
            menu.findItem(0x7f0d013c).setTitle(0x7f0a007e);
            menu.findItem(0x7f0d013c).setIcon(0x7f020091);
        }
        if(a(-1, n, null) == null)
            menu.findItem(0x7f0d0141).setEnabled(false);
        if(V != cls_b.aNormal)
        {
            menu.removeItem(0x7f0d013b);
            menu.removeItem(0x7f0d013c);
            menu.removeItem(0x7f0d0140);
        }
        return super.onPrepareOptionsMenu(menu);
    }

    protected void onResume()
    {
        int i1 = com.nnee.p_pr.p_c.cls_l.c(this);
        CheckBox checkbox = ag;
        int j1;
        if(i1 > 0)
            j1 = 0;
        else
            j1 = 8;
        checkbox.setVisibility(j1);
        super.onResume();
    }

    public static int A = 0;
    public static int B = 0;
    public static int C = 0;
    public static int D = 0;
    public static int E = 0;
    private static final String J = "ArticleGalleryActivity";
    private static final boolean K = false;
    private static cls_u W;
    public static final String a = "url";
    public static final String b = "nexturl";
    public static final String c = "title";
    public static final String d = "position";
    public static final String e = "operation";
    public static final String f = "type";
    public static final String g = "custom_type";
    public static int h;
    public static int i;
    public static int j;
    public static int k;
    public static int l;
    public static int m;
    public static int n;
    public static int o;
    public static int p;
    public static int q;
    public static int r;
    public static int s;
    public static int t;
    public static int u;
    public static int v;
    public static int w;
    public static int x;
    public static int y;
    public static int z;
    android.content.DialogInterface.OnClickListener F;
    android.view.View.OnClickListener G;
    TextWatcher H;
    com.nnee.p_pr.cls_b I;
    private cls_FlingGallery L;
    private boolean M;
    private boolean N;
    private boolean O;
    private boolean P;
    private int Q;
    private int R;
    private String S;
    private String T;
    private int U;
    private cls_b V;
    private LinkedList X;
    private cls_d Y;
    private Context Z;
    private InputMethodManager aa;
    private LinearLayout ab;
    private LinearLayout ac;
    private LinearLayout ad;
    private EditText ae;
    private Button af;
    private CheckBox ag;
    private ImageButton ah;
    private ImageButton ai;
    private ImageButton aj;
    private ImageButton ak;
    private ImageButton al;
    private ViewGroup am;
    private cls_cn an;
    private cls_cn ao;

    static 
    {
        h = 4096;
        i = 1 + h;
        j = 2 + h;
        k = 3 + h;
        l = 4 + h;
        m = 5 + h;
        n = 6 + h;
        o = 7 + h;
        p = 8 + h;
        q = 9 + h;
        r = 10 + h;
        s = 11 + h;
        t = 12 + h;
        u = 13 + h;
        v = 14 + h;
        w = 15 + h;
        x = 16 + h;
        y = 17 + h;
        z = 18 + h;
        A = 19 + h;
        B = 20 + h;
        C = 21 + h;
        D = 22 + h;
        E = 23 + h;
    }
}
